package com.zx.sdk.model;

import com.zx.sdk.ZxSDK;

public class SelfPosition {

    private Integer id;
    private String appid;
    private String pid;
    private String display;
    private String remark;
    private int minBidCpm;

    public int getMinBidCpm() {
        if (minBidCpm != 0) {
            return minBidCpm * 100;
        }

        if (ZxSDK.REWARD.equals(display)) {
            return 500;
        } else if (ZxSDK.SPLASH.equals(display)) {
            return 300;
        }

        return ZxSDK.Min_Bid_Cpm;
    }
}
